﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ToodleDo
{
    public static class Logger
    {
        #region Members
        public enum MessageType
        {
            Tracking, Error
        }
        #endregion

        #region Constructors & Init

        #endregion

        #region Public Methods

        #endregion

        #region #Events & Invokables

        public delegate void MessageHandler(string message, MessageType type);
        public static event MessageHandler MessageEvent;
        public static void InvokeMessageEvent(string message, MessageType type)
        {
            MessageHandler handler = MessageEvent;
            if (handler != null) handler(message, type);
        }

        #endregion

        #region Private Methods

        #endregion

        #region EventHandlers

        #endregion
    }
}
